package com.gitee.swsk33.algorithms.graph.adtable;

public class Test {

	public static void main(String[] args) {
		Integer[] a = {1, 2, 3, 4, 5};
		ADTable<Integer> table = new ADTable<>(a);
		table.insertEdge(0, 3);
		table.insertEdge(3, 2);
		table.insertEdge(2, 4);
		System.out.println(table);
		table.doDFS();
		table.doBFS();
	}

}